package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间信息对象 sys_work_room
 * 
 * @author spark
 * @date 2023-07-23
 */
public class SysWorkRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车间ID */
    private Long roomId;

    /** 工厂ID */
    @Excel(name = "工厂ID")
    private Long factoryId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 车间编号 */
    @Excel(name = "车间编号")
    private String roomCode;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String roomName;

    private String deptName;

    @Excel(name = "工厂名称")
    private String factoryName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setRoomCode(String roomCode) 
    {
        this.roomCode = roomCode;
    }

    public String getRoomCode() 
    {
        return roomCode;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("factoryId", getFactoryId())
            .append("deptId", getDeptId())
            .append("roomCode", getRoomCode())
            .append("roomName", getRoomName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
